package com.chen.manager.service.impl;

import com.chen.manager.mapper.ProductUnitMapper;
import com.chen.manager.service.ProductUnitService;
import com.chen.model.entity.base.ProductUnit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author cgj
 * @date 3/15/25 9:02 AM
 */
@Transactional
@Service
public class ProductUnitServiceImpl implements ProductUnitService {
    @Autowired
    private ProductUnitMapper productUnitMapper;
    @Override
    public List<ProductUnit> selectAll() {
        return productUnitMapper.selectAll();
    }
}
